Extending the Functionality of Personal Web Server |
Adding server-side image maps |
Adding a MOS plug-in |
Adding a W*API™ Adapter plug-in |
Adding a CGI or ACGI application |
To create a server-side image map
<a href="mapeg.map"><img src="mapeg.gif" ismap></a>Note that the map file (mapeg.map in the example) must have a .map extension.
The CERN convention divides the graphic into a series of non-overlapping geometric shapes. Here's an example
# a comment default http://PWS.microsoft.com/demo/map/default.htm rect 215,50 258,168 http://PWS.microsoft.com/demo/map/green.htm rect 20,8 104,65 http://PWS.microsoft.com/demo/map/red.htm poly 14,117 42,117 60,88 75,118 101,118 81,130 94,166 55,144 14,163 32,131 32,131 http://PWS.microsoft.com/demo/map/yellow.htm point 172,30 http://PWS.microsoft.com/demo/map/point.htm circle 150,97 31 http://PWS.microsoft.com/demo/map/blue.htm
The server uses the following rules to translate the coordinates of the user's click into a URL.
Return to top |
Note
Related Topic
Using the W*API Adapter Plug-in
Return to top |
Tip
Related Topics
Opening the Microsoft Personal Web Server control panel
Publishing documents
Stopping the publishing of documents from the Microsoft Personal Web Server control panel
Stopping the publishing of documents from your Web site
Return to top |
Notes
Return to top |